package com.cch.datageniebackendmaster.model.enums;

/**
 * 图表生成状态枚举
 *
 * @author cch
 */
public enum ChartStatusEnum {
    WAITING(0, "等待中"),
    RUNNING(1, "执行中"),
    SUCCEED(2, "已完成"),
    FAILED(3, "失败"),
    REJECTED(4, "已拒绝"),
    ;
    private Integer code;
    private String desc;

    ChartStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }
}
